package com.verisette.ncos.web.common.listener;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.verisette.ncos.common.ProjectConstant;

/**
 * Application Lifecycle Listener implementation class InitialConstantListener
 *
 */
public class InitialContextListener implements ServletContextListener {

    /**
     * Default constructor. 
     */
    public InitialContextListener() {
        // TODO Auto-generated constructor stub
    }

	/**
     * @see ServletContextListener#contextInitialized(ServletContextEvent)
     */
    public void contextInitialized(ServletContextEvent evt) {
        // TODO Auto-generated method stub
//    	ServletContext sc = evt.getServletContext();
//    	ProjectConstant.BASE_APP_FOLDER=sc.getInitParameter("BASE_APP_FOLDER");
//    	ProjectConstant.USER_FOLDER_FORMAT=sc.getInitParameter("USER_FOLDER_FORMAT");
    }

	/**
     * @see ServletContextListener#contextDestroyed(ServletContextEvent)
     */
    public void contextDestroyed(ServletContextEvent evt) {
        // TODO Auto-generated method stub
    }
	
}
